package com.opentutor.dao;

import java.util.List;

import com.opentutor.model.*;

public interface ChapterDao {
	
	public List<Chapter> getAllChapters() ;
	
	public List<Chapter> getAllChaptersOfACourse(int courseId);
	
	public Chapter getChapterById(int id);
	
	public void addChapter(Chapter chapter);
	
	public void upateChapter(Chapter chapter );
	
	public void deleteChapter(Chapter chapter);

}
